using System.Collections.Generic;
using CommonLibrary.Model;

namespace CommonLibrary.BLL
{
    public class LinkmanGroup
    {
        public static bool Exsits(int LinkmanGroupID)
        {
            CommonLibrary.DAL.LinkmanGroup dal = new CommonLibrary.DAL.LinkmanGroup();
            return dal.Exsits(LinkmanGroupID);
        }
        public static bool Insert(LinkmanGroupInfo LinkmanGroup)
        {
            CommonLibrary.DAL.LinkmanGroup dal = new CommonLibrary.DAL.LinkmanGroup();
            return dal.Insert(LinkmanGroup);
        }
        public static bool Update(LinkmanGroupInfo LinkmanGroup)
        {
            CommonLibrary.DAL.LinkmanGroup dal = new CommonLibrary.DAL.LinkmanGroup();
            return dal.Update(LinkmanGroup);
        }
        public static bool Delete(int LinkmanGroupID)
        {
            CommonLibrary.DAL.LinkmanGroup dal = new CommonLibrary.DAL.LinkmanGroup();
            return dal.Delete(LinkmanGroupID);
        }
        public static bool DeleteByLinkmanGroupNo(int LinkmanGroupNo)
        {
            CommonLibrary.DAL.LinkmanGroup dal = new CommonLibrary.DAL.LinkmanGroup();
            return dal.DeleteByLinkmanGroupNo(LinkmanGroupNo);
        }
        public static bool DeleteByLinkmanID(int LinkmanID)
        {
            CommonLibrary.DAL.LinkmanGroup dal = new CommonLibrary.DAL.LinkmanGroup();
            return dal.DeleteByLinkmanID(LinkmanID);
        }
        public static LinkmanGroupInfo GetLinkmanGroup(int LinkmanGroupID)
        {
            CommonLibrary.DAL.LinkmanGroup dal = new CommonLibrary.DAL.LinkmanGroup();
            return dal.GetLinkmanGroup(LinkmanGroupID);
        }
        public static List<LinkmanGroupInfo> GetList(string StrWhere)
        {
            CommonLibrary.DAL.LinkmanGroup dal = new CommonLibrary.DAL.LinkmanGroup();
            return dal.GetList(StrWhere);
        }

    }
}